public class Test {


    public static void NodeSort(Node cur) {
        Node right = cur;
        Node base = cur;
        Node left = cur;
        while (left.next != null) {
            left = left.next;
        }
    }
}


class Node {
    int val;

    Node next;


    public Node(int val, Node next) {
        this.val = val;
        this.next = next;
    }

}
